package system.util.message;

/**
 * Request message which is waiting for a response.
 */
public class RequestMessage extends Message {

	private static final long serialVersionUID = 5429607523713916053L;

	private ResponseMessage future;
	
	public RequestMessage(String senderName, String message) {
		super(senderName, message);
		this.future = new ResponseMessage(this);
	}
	
	public ResponseMessage getFuture() {
		return this.future;
	}
}
